package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName st_user_exam_record
 */
@TableName(value ="st_user_exam_record")
@Data
public class StUserExamRecord implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 试卷id
     */
    @TableField(value = "exam_id")
    private Integer examId;

    /**
     * 提交时间
     */
    @TableField(value = "submit_time")
    private String submitTime;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 得分
     */
    @TableField(value = "score")
    private Integer score;

    /**
     * 答题时长
     */
    @TableField(value = "period_time")
    private Integer periodTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}